namespace UniversalAdmin.Application.Dtos;

public class UsersDto
{
    public Guid Id { get; set; }
    public string Password { get; set; } = null!;
    public string Username { get; set; } = null!;
    public string? Email { get; set; }
    public string? Phone { get; set; }
    public string? Avatar { get; set; }
    public bool IsActive { get; set; } = true;
    public Guid RoleId { get; set; } = Guid.Empty;
    
    // 角色信息
    public List<RoleInfo> Roles { get; set; } = new List<RoleInfo>();
}

public class RoleInfo
{
    public Guid Id { get; set; }
    public string Name { get; set; } = string.Empty;
    public string Description { get; set; } = string.Empty;
    public bool IsActive { get; set; }
}